function replaceContent(id) {
        var a = document.getElementById(id).innerHTML,
                b = "http://onk.googlecode.com/svn/trunk/img/emo/",
                c = " <img src='",
                d = "class='emo delayLoad'\/>";
        document.body.spellcheck = false;
        a = a.replace(/\@<a(.[^<]*)<\/a>/g, "");
        a = a.replace(/(<br ?\/?>)+(:|;|\^|=)/ig, "<br> $2");
        a = a.replace(/^(&nbsp;|<br ?\/?>| <br ?\/?>)+/ig, "");
        a = a.replace(/\s:\)/g, c + b + "smile.gif' title=':)' " + d);
        a = a.replace(/\s;\)/g, c + b + "wink.gif' title=';)' " + d);
        a = a.replace(/\s:D/g, c + b + "haha.gif' alt=':D' " + d);
        a = a.replace(/\s=D/g, c + b + "hihi.gif' alt='=D' " + d);
        a = a.replace(/\s\^:D/g, c + b + "abovemehaha.gif' alt='^:D' " + d);
        a = a.replace(/\s\^\_?\^/g, c + b + "senyum-tulus.gif' alt='^_^' " + d);
        a = a.replace(/\s:\(/g, c + b + "sad.gif' alt=':(' " + d);
        a = a.replace(/\s=\(/g, c + b + "sadanimated.gif' alt='=(' " + d);
        a = a.replace(/\s@@,/g, c + b + "rolleyes.gif' alt='@@,' " + d);
        a = a.replace(/\s:yaya:/ig, c + b + "yaya.gif' alt=':yaya:' " + d);
        a = a.replace(/\s:s/ig, c + b + "sullen.gif' alt=':s' " + d);
        a = a.replace(/\s:(\\|\/)/ig, c + b + "memble.gif' alt=':&#92;' " + d);
        a = a.replace(/\s:('|\&\#39\;)\(/g, c + b + "cry.gif' alt=':&#39;(' " + d);
        a = a.replace(/\s:waaa:/ig, c + b + "wawa.gif' alt=':waaa:' " + d);
        a = a.replace(/\sT\_T/ig, c + b + "tears.gif' alt='T_T' " + d);
        a = a.replace(/\sB\)/g, c + b + "cool.gif' alt='B)' " + d);
        a = a.replace(/\s:Q/g, c + b + "smoking.gif' alt=':Q' " + d);
        a = a.replace(/\s\*\*p/ig, c + b + "crazy.gif' alt='**p' " + d);
        a = a.replace(/\s7:\(/g, c + b + "conf.gif' alt='7:(' " + d);
        a = a.replace(/\s:p/ig, c + b + "wee.gif' alt=':p' " + d);
        a = a.replace(/\s:Oz+/ig, c + b + "sleep.gif' alt=':Ozz' " + d);
        a = a.replace(/\s7:O/ig, c + b + "angry.gif' alt='7:O' " + d);
        a = a.replace(/\s\\o\//ig, c + b + "applause.gif' alt='&#92;o/' " + d);
        a = a.replace(/\s\\m\//ig, c + b + "metal.gif' alt='&#92;m/' " + d);
        a = a.replace(/\s(&lt;3|:\*)/g, c + b + "love.gif' alt='&amp;amp;lt;3' " + d);
        a = a.replace(/\s0:\)/g, c + b + "angelgreen.gif' alt='0:)' " + d);
        a = a.replace(/\s\^o\^/ig, c + b + "angelwhite.gif' alt='^o^' " + d);
        a = a.replace(/\s:\-a/ig, c + b + "vomit.gif' alt=':-a' " + d);
        a = a.replace(/\s\*fck\*/ig, c + b + "fuck.gif' alt='*fck*' " + d);
        a = a.replace(/\sxV/ig, c + b + "demo.gif' alt='xV' " + d);
        a = a.replace(/\sx@/g, c + b + "marahbesar.gif' alt='x@' " + d);
        a = a.replace(/\sX@/ig, c + b + "arrgh.gif' alt='X@' " + d);
        a = a.replace(/\s:\-d/g, c + b + "top.gif' alt=':-d' " + d);
        a = a.replace(/\s:\-bd/g, c + b + "topmarkotop.gif' alt=':-bd' " + d);
        a = a.replace(/\s\~x\(+/ig, c + b + "ugh.gif' alt='~x(' " + d);
        a = a.replace(/\s:bye:/ig, c + b + "bye.gif' alt=':bye:' " + d);
        a = a.replace(/\s:W/g, c + b + "explain.gif' alt=':W' " + d);
        a = a.replace(/\s\(\-\.\-,\)/g, c + b + "pumpkin.gif' alt='(-.-,)' " + d);
        a = a.replace(/\s\*=p/ig, c + b + "ball1.gif' alt='*:p' " + d);
        a = a.replace(/\s=p\*/ig, c + b + "ball2.gif' alt=':p*' " + d);
        a = a.replace(/\s:(imhere|disini):/ig, c + b + "imhere.gif' alt=':disini:' " + d);
        a = a.replace(/\s:cendol:/ig, c + b + "cendol.gif' alt=':cendol:' " + d);
        a = a.replace(/\s&lt;:\)/g, c + b + "festival1.gif' alt='&amp;amp;lt;:)' " + d);
        a = a.replace(/\s&lt;=\)/g, c + b + "festival2.gif' alt='&amp;amp;lt;=)' " + d);
        a = a.replace(/\s:(rolled|guling):/ig, c + b + "rolled.gif' alt=':guling:' " + d);
        a = a.replace(/\s\*bang\*/ig, c + b + "bang.gif' alt='*bang*' " + d);
        a = a.replace(/\s\'\'J/ig, c + b + "call.gif' alt='&#39;&#39;J' " + d);
        a = a.replace(/\s:drummer:/ig, c + b + "drummer.gif' alt=':drummer:' " + d);
        a = a.replace(/\s:(guitarist|gitaris):/ig, c + b + "guitarist.gif' alt=':gitaris:' " + d);
        a = a.replace(/\s:(vocalist|vokalis):/ig, c + b + "vocalist.gif' alt=':vokalis:' " + d);
        a = a.replace(/\[note\](.[^\]]*)\[\/note\]/ig, "<cite class=\"note\">$1<\/cite>");
        a = a.replace(/\[iframe\](.[^\]]*)\[\/iframe\]/ig, "<iframe class=\"loader video\" lsrc=\"$1\" frameborder=\"0\"><\/iframe>");
        document.getElementById(id).innerHTML = a;
} replaceContent('cm_block');